*{
  margin: 0;
  padding: 0;
}
li{
  list-style: none;
}
/* 顶部导航 */
.nav{
  width: 100%;
  background-color: black;
}
nav{
  width: 1090px;
  height: 30px;
  display: flex;
  margin: 0 auto;
  line-height: 1;
  justify-content: space-between;
}
nav .left{
  display: flex;
}
nav .left li{
  margin-top: 7px;
  margin-right: 15px;
  font-size: 12px;
  color: #999;
  cursor: pointer;
}
nav .right{
  display: flex;
}
nav .right li{
  margin-top: 7px;
  margin-left: 15px;
  font-size: 12px;
  color: #999;
  cursor: pointer;
}

/* logo图部分 */
header{
  width: 1090px;
  margin: 0 auto;
  display: flex;
}
header .img{
  margin-right: 120px;
}
header .sousuo{
  width: 510px;
  height: 40px;
  display: flex;
  margin-top: 20px;
  margin-left: 80px;
  position: relative;
}
header .sousuo .souleft{
  width: 480px;
  height: 40px;
  border: 2px solid red;
  background-color: white;
  border-radius: 30px 0 0 30px;
  box-sizing: border-box;
  position: relative;
}
header .sousuo .souleft input{
  width: 400px;
  height: 34px;
  margin-left: 20px;
  border: 0;
  outline: none;
  /* background-color: slateblue; */
}
header .sousuo .souleft ul {
  width: 480px;
  margin-left: 20px;
  margin-top: 5px;
  position: absolute;
  z-index: 999;
  border: 1px solid #333;
  background-color: white;
  display: none;
}
header .sousuo .souleft li {
  height: 30px;
  line-height: 30px;
  font-size: 20px;
}
header .sousuo .souright{
  width: 60px;
  height: 40px;
  background-color: red;
  border-radius: 30px;
  position: absolute;
  right: 0;
}
header .sousuo .souright img{
  width: 33px;
  height: 35px;
  margin-top: 3px;
  margin-left: 12px;
}
header .cart{
  width: 110px;
  height: 40px;
  margin-top: 20px;
  background-color: white;
  border: 2px solid red;
  border-radius: 30px ;
  margin-left: 30px;
  position: relative;
  line-height: 1;
  box-sizing: border-box;
}
header .cart img{
  width: 25px;
  margin-top: 7px;
  margin-left: 13px;
}
header .cart span{
  top: 12px;
  left: 45px;
  position: absolute;
  cursor: pointer;
}


/* 分类 */
.daohang{
  width: 1090px;
  height: 40px;
  margin: 0 auto;
  display: flex;
  position: relative;
  /* cursor: pointer; */
}
.daohang .daoleft{
  background-color: red;
  width: 160px;
  margin-right: 50px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.daohang .daoleft img{
  height: 12px;
  width: 12px;
  margin-left: 20px;
  margin-right: 20px;
}
.daohang .daoleft span{
  cursor: pointer;
}
.daohang .daohangright{
  display: flex;
  align-items: center;
}
.daohang .daohangright li{
  margin-right: 40px;
}
.daohang .daohangright li a.active{
  color: red;
}
.daohang .daohangright li a{
  color: black;
  text-decoration: none;
}
.daohang .daohangright li a:hover{
  color: red;
}
.daohang .ban {
  position: absolute;
  top: 40px;
  width: 160px;
  z-index: 999;
  background-color: rgb(255, 37, 74);
  cursor: pointer;
}
.daohang .ban .baner .banner1{
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-bottom: 1px solid rgb(238, 184, 184);
  position: relative;
}
/* 左侧二级下拉菜单 */
.daohang .ban  .ban1{
  width: 930px;
  height: 480px;
  background-color:white ;
  position: absolute;
  top: 0 ;
  left: 160px;
  /* display: flex; */
  display: none;
  border: 1px solid red;
}
.ban11{
  display: flex;
  flex-wrap: wrap;
  width: 660px;
  height: 480px;
  /* background-color: violet; */
  padding-left: 10px;
  box-sizing: border-box;
}
.ban111 {
  height: 200px;
  width: 324px;
}
.ban111 h2{
  font-size: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid gray;
}
.ban111 ul{
  display: flex;
  flex-wrap: wrap;
}
.ban111 ul li{
  width: 70px;
  height: 38px;
  
}
.ban111 ul li.active{
  color: red;
}
.ban111 ul li:hover{
  text-decoration: underline;
}
.ban12{
  width: 260px;
  height: 400px;
  position: absolute;
  right: 0;
  top: 0;
  background-color: rgb(246, 246, 246);
}
.ban12 .banyou{
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 15px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.ban12 .banyou li{
  /* background-color: turquoise; */
}
.ban12 .banyou li:nth-last-of-type(n){
  margin-right: 5px;
}
.ban12 .banyou li img{
  width: 110px;
  height: 110px;
}
.banxia{
  display: flex;
  background-color: rgb(246, 246, 246);
}
.banxia img{
  margin-left: 20px;
  height: 100px;
  width: 50px;
}
.banxia .banxia1 .banxia11{
  margin-left: 40px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.banxia .banxia1 .banxia12{
  margin-left: 40px;
  height: 20px;
  width: 96px;
  text-align: center;
  border: 1px solid #333;
}

/* 大图轮播图 */
/* .ban {
  width: 1090px;
  margin: 0 auto;
} */
.banner{
  width: 1519px;
  height: 500px;
  /* border: 10px solid black; */
  margin: 0 auto;
  /* margin-top: 200px; */
  position: relative;
  overflow: hidden;
}
.banner>ul{
  display: flex;
  width: 700%;
  height:500px;
  position:absolute;
  top: 0;
  left: 0;
}
.banner ul>li{
  list-style: none;
  flex: 1;
  font-size: 100px;
}
.banner ul>li img{
  width: 100%;
  height: 500px;
}
.banner ol{
  background-color: rgb(177, 165, 165);
  /* opacity: 0.6; */
  position:absolute;
  bottom:20px;
  width: 200px;
  height: 40px;
  left: 50%;
  transform:translateX(-50%);
  border-radius: 50px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.banner ol>li{
  list-style: none;
  opacity: 1;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background-color: white;
}
.banner ol>li.active{
  background-color: purple;
}
.bannerleft{
  width: 50px;
  height: 50px;
  background-color: rgb(26, 8, 92);
  opacity:0.6;
  position: absolute;
  top: 50%;
  color: white;
  text-align: center;
  font-size: 50px;
  line-height: 1;
}
.bannerright{
  width: 50px;
  height: 50px;
  background-color: rgb(26, 8, 92);
  opacity:0.6;
  position: absolute;
  top: 50%;
  right: 0;
  color: white;
  text-align: center;
  font-size: 50px;
  line-height: 1;
}

/* 首页显示 */
.BOX {
  width: 1090px;
  margin: 0 auto;
  /* background-color: aqua; */
}

/* 靠上的部分 */
.BOX1{
  width: 100%;
  height: 70px;
  background-color: rgb(246, 246, 246);
  display: flex;
  align-items: center;
}
.BOX1 h2 {
  font-style: 18px;
  margin-left: 5px;
  margin-right: 15px;
}
.BOX1 p {
  font-size: 12px;
  margin-right: 20px;
  color: red;
}
.BOX1 p.active{
  color: gray;
}
.BOX1 span {
  margin-left: 600px;
}

/* 左边部分 */
.BOX2{
  width: 100%;
  /* background-color: green; */
  display: flex;
  border: 1px solid gray;
  border-bottom: 0;
  margin-bottom: 30px;
}
.BOX21{
  width: 330px;
  background-color: rgb(240, 243, 248);
  overflow: hidden;
  line-height: 1;
}
.BOX211{
  font-size: 23px;
  margin-top: 20px;
  margin-left: 15px;
  margin-right: 5px;
  margin-bottom: 5px;
}
.BOX212{
  margin-left: 15px;
  margin-bottom: 5px;
}
.BOX213{
  width: 100%;
  height: 305px;
  /* background-color: hotpink; */
  margin-bottom: 15px;
}
.BOX213 img{
  width: 300px;
  height: 300px;
  display: block;
  margin: 0 auto;
}
.BOX214{
  width: 100%;
  height: 110px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.BOX214 div{
  width: 82px;
  height: 30px;
  border: 1px solid #333;
  border-radius: 10px;
  background-color: rgb(255,255,255);
  text-align: center;
  line-height: 30px;
}

/* 中间部分 */
.BOX22{
  width: 547px;
  /* background-color: royalblue; */
  display: flex;
  flex-wrap: wrap;
}
.BOX22 div {
  width: 253px;
  height: 270px;
  /* background-color: slateblue; */
  text-align: center;
  line-height: 1;
  border-right:  1px solid gray;
  border-bottom: 1px solid gray;
}
.BOX22 div h3{
  font-weight: 400;
  margin-top: 15px;
  margin-bottom: 8px;
}
.BOX22 div p{
  font-style: 12px;
  margin-bottom: 10px;
}
.BOX22 div img{
  width: 180px;
  height: 144px;
}


/* 右边部分 */
.BOX23{
  width: 296px;
}
.BOX231{
  height: 50px;
  line-height: 50px;
  font-size: 23px;
  font-weight: 500;
  border-bottom: 1px solid gray;
}

.BOX2321{
  height: 123px;
  display: flex;
  padding-top: 10px;
  /* padding-bottom: 10px; */
  border-bottom: 1px solid #000;
  box-sizing: border-box;
}
.BOX2321 img{
  width: 92px;
  height: 92px;
  margin-left: 5px;
  
}
.BOX2322 p{
  font-size: 12px;
  margin-bottom: 30px;
}
.BOX2322  .s1{
  color: red;
  font-size: 18px;
  margin-right: 10px;
}
.BOX2322 .s2{
  text-decoration: line-through;
  font-size: 12px;
  color: gray;
}

/* 首页下边部分 */
.BOX3{
  width: 1090px;
  margin: 0 auto;
  padding-bottom: 30px;
  border-bottom: 1px solid #333;
}
.BOX31{
  width: 1088px;
  font-size: 25px;
  height: 70px;
  line-height: 70px;
  border-right: 1px solid #333;
  border-top: 1px solid #333;
  border-left: 1px solid #333;
}
.BOX32{
  display: flex;
}
.BOX32 div {
  width: 220px;
  height: 170px;
  text-align: center;
  border-bottom: 1px solid #333;
  border-top: 1px solid #333;
  border-left: 1px solid #333;
}
.BOX321{
  border-right: 1px solid #333;
}
.BOX32 img{
  width: 120px;
  height: 120px;
}




/* 下面 */
.box1{
  /* background-color: rgb(166, 166, 221); */
  width: 1090px;
  height: 150px;
  /* margin-top: 50px; */
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  border-bottom: 1px solid gray;
}
.box1 .box2{
  display: flex;
  line-height: 1;
}
.box1 .box2 .yuan{
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 30px;
  text-align: center;
  border: 1px solid gray;
  border-radius: 25px;
}
.box1 .box2 .text{
  margin-top: 5px;
  margin-left: 10px;
}
.footer{
  width: 1090px;
  margin: 0 auto;
  /* background-color: green; */
  height: 200px;
  display: flex;
  padding-top: 40px;
  position: relative;
}
.footer .img{
  margin-right: 80px;
}
.footer .foot{
  line-height: 1;
  margin-right: 20px;
}
.footer .foot p{
  font-size: 20px;
  margin-bottom: 15px;
}
.footer .foot li{
  margin-bottom: 10px;
}
.footer  .img1 img{
  width: 108px;
  height: 108px;
}
.footer .last{
  display: flex;
  position: absolute;
  left: 0;
  top: 120px;
}
.footer .last img{
  width: 32px;
  height: 32px;
  margin-left: 10px;
}
/* 最底部 */
.foot1{
  width: 100%;
  height: 154px;
  background-color: rgb(255,255,255);
}
.foot1>.foot-center{
  width: 1000px;
  height: 154px;
  background-color: rgb(255,255,255);
  /* background-color: skyblue; */
  margin: 0 auto;
  overflow: hidden;
  font-size: 12px;
  color: rgb(102, 102, 102);
  display: flex;
  flex-wrap: wrap;
  justify-content:center;
  align-items: center;
}
.foot1>.foot-center>p:nth-of-type(4)>img:nth-of-type(1){
  width: 80px;
  height: 30px;
  margin-right: 10px;
}
.foot1>.foot-center>p:nth-of-type(4){
  width: 100%;
  display: flex;
  justify-content: center;
}
.foot1>.foot-center>p:nth-of-type(4)>img:nth-of-type(2){
  width: 30px;
  height: 30px;
}
.foot1>.foot-center a{
  color: rgb(102, 102, 102);
  font-size: 12px;
}
.foot1>.foot-center a:hover{
  text-decoration: underline;
}
